package edu.sysu.demo.rabbitmq.data.dao;

import edu.sysu.demo.rabbitmq.data.entity.Item;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface ItemDao extends JpaRepository<Item, Long>, JpaSpecificationExecutor<Item> {

  Item findByName(String name);
}
